package com.erju.service;

import com.erju.pojo.SlLab;
import com.erju.pojo.SlLabAppointment;
import com.erju.pojo.VO.LabReviewVo;
import com.erju.utils.Result;

import java.util.List;

public interface LabAppointmentService {
    /**
     * 查询实验室预约详情
     *
     * @return com.erju.utils.Result<?>
     * @Author erju
     * @Date 19:15 2022/3/25
     * @Param [slLab]
     **/
    Result<?> selectLabDetails(SlLabAppointment slLabAppointment);

    /***
     *添加实验室预约信息
     * @Author erju
     * @Date 20:49 2022/3/28
     * @Param [slLab]
     * @return com.erju.utils.Result<?>
     **/
    Result<?> addAppointment(SlLabAppointment slLabAppointment);

    /**
     * 实验室模糊查询预约信息
     */
    Result<?> selectAppointmentByFlag(LabReviewVo labReviewVo);

    /***
     *删除实验室预约
     * @Author erju
     * @Date 11:53 2022/3/29
     * @Param [slLabAppointment]
     * @return java.lang.Boolean
     **/
    Result<?> deleteLabAppointment(SlLabAppointment slLabAppointment);

    /**
     * 更新实验室预约信息
     * @param slLabAppointment
     * @return
     */
    Result<?> updateAppointmentFlag(SlLabAppointment slLabAppointment);

    /**
     * 实验室座位查看
     * @param
     * @return
     */
    Result<?> selectPersonalLabSeat(SlLabAppointment slLabAppointment);
    /**
     * 查看预约实验室的学生
     * @param
     * @return
     */
    Result<?> selectLabAppointmentStudent(Integer lab_appointment_id);
    /**
     * 添加预约实验室的学生
     * @param
     * @return
     */
    Result<?> addLabAppointmentStudent(String lab_appointment_student_id_list,Integer appointment_id);
}
